package com.sxhuayuan.parking.service;

import com.sxhuayuan.parking.entity.Agent;
import com.sxhuayuan.parking.entity.AgentRelation;

import java.util.List;

public interface AgentRelationService extends BaseService<AgentRelation, Long> {

	// 删除上下级关系 id
	void deleteRelation(Long id);

	/** 根据代理查询此代理下级直接代理 */
	List<Agent> findChildrenByParent(Agent agent);
}
